package com.example.emp20221871luhaotian.demos.service;

import com.example.emp20221871luhaotian.demos.po.Emp;

import java.util.List;
import java.util.Map;

/**
 * @author lht
 * @version 1.0
 * @since 2025/6/3
 */
public interface EmpService {

    List<Emp> findAllEmp();

    int addEmp(Emp emp);

    int updateEmp(Emp emp);

    int deleteEmp(Integer id);

    Emp getById(Integer id);

    List<Map<String, Object>> getAllSalary();
}
